package com.zzld.modules.sys.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.zzld.core.service.IBaseService;
import com.zzld.modules.common.dto.TreeGrid;
import com.zzld.modules.sys.entity.Role;

public interface IRoleService extends IBaseService<Role> {

	public List<TreeGrid> treeGridall();

	/**
	 * 根据id获取树形节点
	 * 
	 * @param id
	 * @return
	 */
	public List<TreeGrid> treeGridbyid(String id);

	public int delcall(String id) throws Exception;

	/*
	 * 获取数据列表
	 */
	public PageInfo treegrid(Map map,int pageNum,int pageSize);
}
